﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AbingtonBooks.Pages.Cart.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:GridView Width="80%" ID="gridItems" ForeColor="White" AllowPaging="true" CellPadding="10" BorderStyle="Groove"  GridLines="Horizontal" runat="server" AutoGenerateColumns="false">
         <Columns>
          <asp:BoundField DataField="Title" HeaderText="Title"></asp:BoundField>
          <asp:BoundField DataField="Author" HeaderText="Author"></asp:BoundField>
             <asp:BoundField DataField="ISBN" HeaderText="ISBN" />
          <asp:BoundField DataField="Price" HeaderText="Price"></asp:BoundField>
             <asp:TemplateField>
                 <ItemTemplate>
                     <asp:ImageButton runat="server" ImageUrl="~/Assets/Images/remove.gif" ToolTip="Remove From Cart"  CommandName="remove" CommandArgument='<%# Eval("BookId") %>' OnCommand="remove_Command"  />
                 </ItemTemplate>
             </asp:TemplateField>
         </Columns>
    </asp:GridView>
     <asp:Label ID="lblTotal" runat="server" Font-Size="14" ForeColor="White" />
    <asp:HyperLink NavigateUrl="~/Pages/Checkout" CssClass="wsite-button"  ID="btnCheckout"  runat="server"><span class="wsite-button-inner">Checkout</span></asp:HyperLink>
</asp:Content>
